package com.baizhi.luoht.controller;/**
 * @Author:luoht
 * @Description：
 * @Date：Create in 19:53 2018/10/23
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @program: SpringMVC
 * @description: Controller of UserController
 * @author: luoht
 * @create: 2018-10-23 19:53
 **/

@Controller
@RequestMapping("/test")
public class UserController {

    @RequestMapping(value = "/first",method = {RequestMethod.GET,RequestMethod.POST})
    public String method(){
        System.out.println("===========================FirstController================================");
        return "index";
    }
}
